package com.wl.service;

import java.util.List;

import com.wl.pojo.Knowledge;

public interface KnowledgeService {

	// 查找所有
	List<Knowledge> getKnowledgeAll();

	// 根据id查找
	Knowledge getKnowledgeById(int klId);

	// 根据标题模糊查找
	List<Knowledge> getKnowledgeByTitle(String klTitle);

	// 添加
	int addKnowledge(Knowledge kl);

	// 修改
	int alterKnowledge(Knowledge kl);

	// 根据id删除
	int removeKnowledge(int klId);
}
